//
//  BaseTableView.m
//  InSuger
//
//  Created by dllo on 15/11/30.
//  Copyright © 2015年 Dior_3g. All rights reserved.
//

#import "BaseTableView.h"

@implementation BaseTableView

- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style superView:(UIView *)superView delegate:(id)delegate rowHeight:(NSInteger)rowHeight separatorStyle:(BOOL)separatorStyle showsVerticalScrollIndicator:(BOOL)showsVerticalScrollIndicator showsHorizontalScrollIndicator:(BOOL)showsHorizontalScrollIndicator header:(UIView *)headerView
{
    self = [super initWithFrame:frame style:style];
    if (self) {
        [superView addSubview:self];
        self.delegate = delegate;
        self.dataSource = delegate;
        self.rowHeight = rowHeight;
        self.separatorStyle = separatorStyle;
        self.showsHorizontalScrollIndicator = showsHorizontalScrollIndicator;
        self.showsVerticalScrollIndicator = showsVerticalScrollIndicator;
        self.tableHeaderView = headerView;
    }
    return self;
}

//- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
//{
//    return self.arr11.count;
//}




@end
